package com.sinux.generality.provider.pay.factory.masterorder;

import com.sinux.generality.provider.pay.entity.GptPayOrder;

/****
 * @className Strategy
 * @describe 抽象策略类 -创建支付订单
 * @author lhz
 * @date  2021/10/20 03:09
 * @version 0.0.1
 */

public interface PayOrder {

      /****
       * createPayOrder 创建支付主订单
       * @author lhz
       * @param gptPayOrder
       * @param businessOrderId 业务订单id
       * @param payType 支付类型：1-微信支付
       * @return GptPayOrder
       */

      GptPayOrder createPayOrder(GptPayOrder gptPayOrder, Long businessOrderId, Integer payType);
}